
$body-bkg: #2f343a;
$body-text: #ffffff;
$nav-bkg: #27326d;
$sidebar-bkg: #cbcbcb;
$link: #8899b7;
$news-bkg: #4e5d6c;
$cat-bkg: #3e5edb;
$chall-bkg: #2444c1;
$solved-bkg: #1c3596;
$tag-border: #42a5f5;
$tag-bkg: #1e88e5;
$panel-heading-bkg:#27326d;
$panel-body-bkg: #4e5d6c;
$chall-text: #ffffff;
$sidebar-text: #ffffff;
$sidebar-active-text: #ffffff;

body {
  background-color: $body-bkg;
  color: $body-text;
}
.navbar-default {
  background-color: $nav-bkg;
}
.left-sidebar-background {
  background-color: $sidebar-bkg;
}

a {
    &.list-group-item {
      background-color: $nav-bkg;
      color: $sidebar-text;
    }

    &.list-group-item.active,
    &.list-group-item.active:hover,
    &.list-group-item.active:focus {
      background-color: $link;
      border-color: $link;
      color: $sidebar-active-text;
    }
}

#news-box {
    background-color: $news-bkg;
}

input.form-control[readonly] {
    background-color: #fff;
}

#loading-overlay {
    background-color: #000;
}

#scoreboard>tbody>tr:nth-child(odd)>td{
  background-color: $panel-body-bkg;
}

/* Challenge submission */
.panel-primary>.panel-heading{
  background-color: $panel-heading-bkg;
}

.chall-submit[disabled], .chall-submit{
  background-color: $panel-heading-bkg;
}

.chall-well, .chall-panel, .chall-panel-body{
  background-color: $panel-body-bkg;
}

/* Jeopardy grid */
.jeopardy-cat {
  background: $cat-bkg;
}

.jeopardy-chall {
    & .front,
    & .back {
      background: $chall-bkg;
      color: $chall-text;
    }
    & .front{
      $dummy: '.chall-dummy:first-child:last-child';
      .chall-tag, #{$dummy} {
        border: 2px solid $tag-border;
        background-color: $tag-bkg;
      }
    }

    &.solved .card {
      background: $solved-bkg;
    }
}
